package projectsys.sys.core.utils.cons;

import projectsys.sys.core.utils.ConfigUtil;

/**
 * @ClassName: Constants (Constants.java)
 * 
 * @Description: 存放常量的类
 * 
 * @Date: 2011-7-3 下午02:25:24
 * @Author: jiangchao
 * @Version: 1.0
 */
public final class Constants {

	/**
	 * 用户登陆路径
	 */
	public static final String LOGIN_REDIRECT_URI = ConfigUtil
			.getString("appRoot") + "/sys/core/login.xhtml";

	/**
	 * 系统根路径
	 */
	public static final String APP_ROOT_NAME = "appRoot";
	
	/**
	 * 用户登陆成功后跳转路径
	 */
	public static final String LOGIN_SUCCESS_REDIRECT_URI = ConfigUtil.getString("appRoot")
			+ "/sys/core/index.xhtml";
	/**
	 * 登陆用户key
	 */
	public static final String SYS_USER_KEY = "userm";

	/**
	 * 模块根节点ID
	 */
	public static final String SYS_MODULE_ROOT_ID = "10000000000000000";

	/**
	 * 树形字典根节点ID
	 */
	public static final String SYS_DICTREE_ROOT_ID = "10000000000000000";

	/**
	 * 组织机构顶层根节点ID
	 */
	public static final String SYS_ORG_ROOT_ID = "10000000000000000";
	
	/**
	 * 系统供用户下载用户批量导入模版的路径
	 */
	public static final String SYS_DOWNLOAD_URL = "D:\\downloads\\用户批量导入模版.xlsx";
	
	/**
	 * 用户批量导入模版名称
	 */
	public static final String SYS_IMPORTUSERTEMPLATE_NAME = "用户批量导入模版.xlsx";
	
	/**
	 * ftp服务器IP
	 */
	public static final String FTP_SERVERIP = "ftp_serverIp";
	
	/**
	 * ftp账户名
	 */
	public static final String FTP_USERNAME = "ftp_userName";
	
	/**
	 * ftp密码
	 */
	public static final String FTP_PASSWORD = "ftp_passWord";
	
	/**
	 * ftp文件路径
	 */
	public static final String FTP_REMOTEFILE = "ftp_remoteFile";
	
	/**
	 * ftp服务器端口
	 */
	public static final String FTP_PORT = "ftp_port";
}
